package com.galgram.project.service.impl;

import java.util.List;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.galgram.project.entity.Curriculum;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.galgram.project.mapper.courseCurriculumMapper;
import com.galgram.project.domain.courseCurriculum;
import com.galgram.project.service.IcourseCurriculumService;

/**
 * 课程资源Service业务层处理
 *
 * @author galgram
 * @date 2024-11-20
 */
@Service
public class courseCurriculumServiceImpl extends ServiceImpl<courseCurriculumMapper, courseCurriculum> implements IcourseCurriculumService {

    @Autowired
    private courseCurriculumMapper curriculumMapper;

    @Override
    public List<courseCurriculum> selectcourseCurriculumList(courseCurriculum courseCurriculum) {
        return baseMapper.selectcourseCurriculumList(courseCurriculum);
    }

    @Override
    public List<Curriculum> selectCurriculumList(Long detailId) {
        return curriculumMapper.selectCurriculumList(detailId);
    }

}
